#include "simplesurface.h"


#ifndef SIMPLESURFACE_C
#define SIMPLESURFACE_C



Vector baseColorAt(SimpleSurface *s, Vector *p){
  return (*s).baseColour;
};

Vector colorAt(SimpleSurface *s, Scene scene, Ray ray, Vector *p, Vector normal){
  Vector b, c;
  b = baseColorAt(s, p);
  c.x = 0.0;
  c.y = 0.0;
  c.z = 0.0;

  if ((*s).specularCoefficient > 0) {
    Ray reflectedRay;
    reflectedRay.point = (*p);
    reflectedRay.vector = reflectThru(ray.vector, normal);
  }
				      
  return c;
};

#endif
